a=[2,9,10,11,15]
b=[4,5,6,7,8]
c=[]
def f1():
    print(a)
    print(b)

def sort():
    time=1
    i=0
    j=0
    while((i<len(a)) & (j<len(b))):
        print('第' + str(time) + '次')
        time = time + 1
        if(a[i]<=b[j]):
            c.append(a[i])
            print('i='+str(i))
            i=i+1
        else: 
            c.append(b[j])
            print('j='+str(j))
            j=j+1
        print('C='+ str(c))
        print('--'*3)
sort()

